package csu.web.credit_bank.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import java.io.Serializable;
import java.util.Date;

/**
 * 学生已查看资源记录表
 */
@Data
@TableName("student_viewed_resources")
@NoArgsConstructor
@AllArgsConstructor
public class StudentViewedResource implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private String id; // 主键ID

    private String studentId; // 学生ID
    private String courseId;  // 课程ID
    private String resourceId; // 资源ID
    private Date viewTime; // 查看时间
}
